<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta charset="UTF-8">
<title>登录页</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css"> 
<%-- <link rel="stylesheet" type="text/css" href="<%=basePath%>static/bootstrap/css/bootstrap.min.css"> --%>
<link rel="stylesheet" type="text/css" href="<%=basePath%>static/css/login.css">
<link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>

<body class="body">
	<div class="container">
		<div class="form row">
			<div class="col-md-10 form-horizontal" id="login_form">
				<h3 class="form-title">LOGIN</h3>

				<div class="col-md-10 col-md-offset-2">
					<div class="form-group">
						<i class="fa fa-user fa-lg"></i> 
							<input class="form-control required" type="text" placeholder="Username"
							id="username" name="username" autofocus="autofocus" maxlength="20" />
					</div>
					<div class="form-group">
						<i class="fa fa-lock fa-lg"></i> 
							<input class="form-control required" type="password"
							placeholder="password" id="password" name="password" maxlength="8" />
					</div>
					<div class="form-group">
						<label class="checkbox"> 
							<input type="checkbox" name="remember"/></span>记住我
						</label>
					</div>
					<div class="form-group col-md-offset-9">
						<button type="button" class="btn btn-block btn-success pull-right" name="submit">登&nbsp;录</button>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="<%=basePath%>static/jquery/jquery.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>static/jquery/jquery.cookie.js"></script>
	<!-- 引入bootstrap的js文件 -->
	<script type="text/javascript" src="<%=basePath%>static/bootstrap/js/bootstrap.min.js"></script>
	<!-- 引入自定义js -->
	<script type="text/javascript" src="<%=basePath %>static/js/login/login.js"></script>
</body>

</html>
